A Study of Different Coding Styles Affecting Code Readability
نویسندگان
چکیده
During software programming, code readability is very important because it affects the understanding of the code context, facilitates communication and collaboration between team members, and it avoids problematic software maintenance. In this study, our research hypothesis was that the coding style affects the code readability. Developers who do not comply with coding conventions and guidelines may be more likely to produce code with a low level of readability. To test this hypothesis, we investigated coding rule violations in the source code files of five open source projects and correlated the observed violations with the scores rated by a readability estimation function. We tested whether significant violations of coding conventions affected the readability of developed codes and identified the violations that were related specifically to low readability quality. We consider that our findings will improve the understanding of programmers so they can take appropriate action to generate better quality code.
منابع مشابه
Origins of poor code readability
The topic of source code readability has paramount importance in software engineering. Literature exists on how to write readable code; how to create analytical models and automatically predict readability; and how readability influences software cost and eventually the economy. In this article we follow a different path; we explore the question of why and how unreadable code gets written. Moti...
متن کاملImpact of Indentation in Programming
In computer programming languages, indentation formats program source code to improve readability. Programming languages make use of indentation to define program structure .Programmers use indentation to understand the structure of their programs to human readers. Especially, indentation is the better way to represent the relationship between control flow constructs such as selection statement...
متن کاملCohesive Readability of Expository Texts and Reading Comprehension Performance: Iranian EFL students of Different Proficiency Levels in Focus
Abstract The present study is an attempt to investigate the relationship between cohesive readability of expository texts and reading comprehension in EFL students with different proficiency levels. One hundred students formed the participant of this study. They were undergraduate students majoring in English at University of Isfahan. To collect the relevant data, participants were divide...
متن کاملCohesive Readability of Expository Texts and Reading Comprehension Performance: Iranian EFL students of Different Proficiency Levels in Focus
Abstract The present study is an attempt to investigate the relationship between cohesive readability of expository texts and reading comprehension in EFL students with different proficiency levels. One hundred students formed the participant of this study. They were undergraduate students majoring in English at University of Isfahan. To collect the relevant data, participants were divide...
متن کاملSpeech Compression for Noise-Corrupted Thai Expressive Speech
Problem statement: In speech communication, speech coding aims at preserving the speech quality with lower coding bitrate. When considering the communication environment, various types of noises deteriorates the speech quality. The expressive speech with different speaking styles may cause different speech quality with the same coding method. Approach: This research proposed a study of speech c...
متن کامل